|
2020-2021 Sunseeker Telemetry and Lighting System
|
#include "driverlib.h"Go to the source code of this file.
Functions | |
| void | main (void) |
| void | DMA0_ISR (void) |
| void DMA0_ISR | ( | void | ) |
Definition at line 189 of file adc10_a_ex8_sequenceDMA.c.
References __bic_SR_register_on_exit().
| void main | ( | void | ) |
ADC10_A - Sample A2-0 Inputs directly to DMA, 8-Bit Res, Single Seq.
MSP430F550x Demo Sample A2/A1/A0 as single sequence with reference to AVcc. Software sets ADC10SC to trigger sample sequence. In Mainloop MSP430 waits in LPM0 to save power until ADC10_A conversion complete, DMA_ISR will force exit from any LPMx. ADC10_A internal oscillator times sample period (16x) and conversion (13x). DMA transfers conv results ADC_Result variable. Notice that the conversions go in the order of A2, A1, then A0.
/|| XIN|- | | | –|RST XOUT|- | P6.2/A2|<- Sample Signal 1 | P6.1/A1|<- Sample Signal 2 | P6.0/A0|<- Sample Signal 3 | |
This example uses the following peripherals and I/O signals. You must review these and change as needed for your own board:
This example uses the following interrupt handlers. To use this example in your own application you must add these interrupt handlers to your vector table.
Definition at line 74 of file adc10_a_ex8_sequenceDMA.c.
References __delay_cycles(), __no_operation(), and param.